header {
    width: 100%;
    height: 0.88rem;
    line-height: 0.88rem;
    background-color: #f5445d;
    text-align: center;
    position: relative;
    color: #FEF0F2;
    font-size: 0.36rem;
    a {
        position: absolute;
        height: 0.88rem;
        width: 1rem;
        text-align: center;
        left: 0;
        img {
            width: 0.32rem;
            height: 0.32rem;
            vertical-align: middle;
        }
    }
}
.form {
    margin-top: 0.2rem;
    form {
        .form-item {
            margin: 0 3%;
            height: 1.2rem;
            input {
                width: 100%;
                height: 1.2rem;
                font-size: 0.31rem;
                padding-left: 0.8rem;
                border: 0;
                border-bottom: 1px solid #D1D1D1; 
                // 修改placeholder样式（兼容性）
                &::-webkit-input-placeholder {
                    color: #616161;
                }
                /* 使用webkit内核的浏览器 */
                &::-moz-placeholder {
                    color: #616161;
                }
                /* Firefox版本4-18 */
                &::-moz-placeholder {
                    color: #616161;
                }
                /* Firefox版本19+ */
                &:-ms-input-placeholder {
                    color: #616161;
                }
            } 
            &:nth-of-type(1) {
                #telephone {
                    background: url("../images/tele.png") no-repeat 0.12rem center;
                    background-size: 0.28rem 0.4rem;
                }      
            }
            // 验证码输入框样式
            &:nth-of-type(2) {
                position: relative;
                #captaha {
                    background: url("../images/captaha.png") no-repeat 0.12rem center;
                    background-size: 0.39rem 0.4rem;
                } 
                // 发送验证码样式
                #codeBtn {
                    position: absolute;
                    right: 0.12rem;
                    top: 0.32rem;
                    width: 2.2rem;
                    height: 0.56rem;
                    line-height: 0.56rem;
                    font-size: 0.22rem;
                    color: #f5445d;
                    border: 1px solid #f5445d;
                    background-color: #fff; 
                    padding: 0;
                    border-radius: .1rem;
                }
            } 
        } 
        .submit {
            margin-top: 2.17rem;
            #btn {
                font-family: AdobeHeitiStd-Regular;
                display: block;
                width: 6.09rem;
                height: 0.86rem;
                color: #fff;
                font-size: 0.34rem;
                border-radius: 0.43rem;
                background-color: #f5445d;
                border: 0;
                margin: 0 auto;
            }
        }
    }
}